﻿ALTER TABLE [dbo].[Thread]
	ADD CONSTRAINT [FK_Thread_ThreadType] 
	FOREIGN KEY([TypeId])
	REFERENCES [dbo].[ThreadType] ([Id])
